<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class=""><a href="{:Url('index')}">列表</a></li>
		<li class="active"><a href="#">添加管理员</a></li>
	</ul>
	
	<form class="form-horizontal js-ajax-form" method="post" action="{:Url('add_post')}">
		<div class="box-body mt10">
			<div class="form-group">
				<label class="col-sm-2 control-label">登录账户 <span>*</span></label>
				<div class="col-sm-8">
					<input type="text" name="account" class="form-control" placeholder="登录账户" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">登录密码 <span>*</span></label>
				<div class="col-sm-8">
					<input type="password" name="password" class="form-control" placeholder="登录密码" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">昵称 <span>*</span></label>
				<div class="col-sm-8">
					<input type="text" name="nicename" class="form-control" placeholder="昵称" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">邮箱</label>
				<div class="col-sm-8">
					<input type="text" name="email" class="form-control" placeholder="邮箱" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">手机号</label>
				<div class="col-sm-8">
					<input type="text" name="mobile" class="form-control" placeholder="手机号" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">状态</label>
				<div class="col-sm-2">
					<select name="status" class="form-control select2">
						<option value='1'>正常</option>
						<option value='0'>禁用</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">所属管理组 <span>*</span></label>
				<div class="col-sm-8">
					<select name="group_id[]" class="form-control select2" multiple="multiple" data-placeholder="选择所属管理组">
						{volist name="group" id="vo" k="key"}
						<option value="{$key}">{$vo}</option>
						{/volist}
					</select>
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
					<a href="javascript:" onclick="self.location=document.referrer;" class="btn btn-default">返回</a>
				</div>
			</div>
		</div>
    </form>

</div>